package com.wwe.kotlinstudy.dm.six;

/**
 * @name KotlinStudy
 * @package name：com.wwe.kotlinstudy.dm.six
 * @anthor DavidZhang
 * @time 2018/5/11 10:07
 * @class describe
 */
public class Test {

    public static void main(String[] args) {

        Kit kit;

        //使用第一个妙计
        kit = new Kit(new AStrategy());
        kit.operate();

        //使用第二个妙计
        kit = new Kit(new BStrategy());
        kit.operate();
    }
}
